package com.wsc.springbootmultidevdemo.logging;

import lombok.extern.log4j.Log4j;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;

import java.util.ArrayList;
import java.util.List;

/**
 * 日志测试
 */
public class LogTest {

    private static final transient Logger log = LoggerFactory.getLogger(LogTest.class);

    public static void main(String[] args) {

        log.info("log4j test success");
        System.out.println("the method of C");

       /* List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        list.forEach((num -> System.out.println(num+"")));*/
    }

}
